<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">

<script type="text/javascript" src=" <?php echo base_url();?>js/tabbed.js"></script>
  <script type="text/javascript" src=" <?php echo base_url();?>js/tabs.js"></script>

<link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>css/style_list_tecn_m.css"></link>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />


</head>




<body onLoad="window.parent.scrollTo(0,0)">

 <img id="logo" src="<?php echo base_url();?>img/integral_mini.bmp" alt="" />

  <aside class="widget">
          
            
            <ul>
             <?php foreach ($info as $inf){?>
                <li><?= anchor('validacion/salir', 'Salir de sesi&oacute;n - ( '.$inf->nombre.' )' ); ?></li>
       <?php }?>           
            </ul>
        </aside>

  <h3 id="h3">Listado de obras</h3>
 
<section id="tabla_0">

<table>
    <tr>
      <th>Nombre</th>
      <th>Ubicacion</th>
      <th>Tel&eacute;fono</th>
     
      </tr>
<?php 

  foreach($results as $dato):
  
 ?>
	
<tr>
<?php $attr = array(
'target'=>'_top'
);?>
   <td><?php if($id == 1) { echo anchor('menu_admin/index/'.$dato->idObra.'',$dato->nombreObra, $attr);  } else {echo anchor('list_visitas/list_vis_tecn/'.$dato->idObra.'',$dato->nombreObra,$attr);} ?></td>
    <td><?=$dato->ubicacion ?></td>
    <td><?=$dato->telefono ?></td>
   
   
  </tr> 
  
  
 <?php endforeach;?>
  
 
	 
	</table></br></br>  
</section>
	    
	    
	  
	    
	    </body>

</html>